package com.fun.crius.mpc.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * tvs服务调用
 * @author lixiangqian
 *
 */
@FeignClient(value = "tvs", fallback = MvsServiceHystrix.class)
public interface MvsService {

	@RequestMapping(value = "/cflow", method = RequestMethod.GET)
	String cflow(@RequestParam(value = "version") String version, @RequestParam(value = "ip") String ip);
}